package com.zhangxin.designmode.fiveprinciple.openclosedprinciple.after;


/**
 * @author zhangxin
 * @date 2022/4/9
 */
public abstract class AlertHandler {

    protected AlertRule alertRule;
    protected Notification notification;

    public AlertHandler(AlertRule alertRule, Notification notification) {
        this.alertRule = alertRule;
        this.notification = notification;
    }

    public abstract void check(ApiStatInfo apiStatInfo);
}
